#include "inherit/Banner.h"
#include "inherit/Print.h"
#include "inherit/PrintBanner.h"
#include <iostream>

using namespace InherentModel;

void Banner::showWithAster(char* mesg)
{
    std::cout << "*" << mesg << "*" << std::endl;
}

void Banner::showWithParen(char* mesg)
{
    std::cout << "(" << mesg << ")" << std::endl;
}

void PrintBannerAdapter::printStrong(char* mesg)
{
    showWithAster(mesg);
}

void PrintBannerAdapter::printWeak(char* mesg)
{
    showWithParen(mesg);
}
